package com.pinmeal;

import android.app.Activity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.ListView;


public class CheckOutActivity extends Activity {

    private static final String[] ACCOUNTS = new String[] {
        "Action@gmail.com", "Adventure@gmail.com", "Animation@gmail.com", "Children@gmail.com", "Comedy@gmail.com", "Documentary@gmail.com", "Drama@gmail.com",
        "Foreign@gmail.com", "History@gmail.com", "Independent@gmail.com", "Romance@gmail.com", "Sci-Fi@gmail.com", "Television@gmail.com", "Thriller@gmail.com"
    };
    
    private ListView listview;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.check_out);
        
        listview = (ListView) findViewById(R.id.payersListView);
        listview.setItemsCanFocus(false);
        listview.setAdapter(new ArrayAdapter<String>(this, android.R.layout.simple_list_item_multiple_choice, ACCOUNTS));
    }

}
